﻿using System;
using System.Collections.Generic;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using ITViet.Web.App_Code;

namespace ITViet.Web.Admin
{
  public partial class ErrorPage :AdminBasePage
  {
    #region Properties
    #endregion

    #region Events
    protected void Page_Load(object sender, EventArgs e)
    {
      if (!IsPostBack && !IsCallback)
      {
        Literal ltrMainTitle = Master.FindControl("lrPageTitle") as Literal;
        ltrMainTitle.Text = Resources.Strings.Error;

        if (ErrorMessage != null)
        {
          lblError.Text = ErrorMessage;
        }
      }
    }
    #endregion
  }
}
